import { EquipmentService } from './../../services/equipment';
import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'ree-unbounded',
  templateUrl: './unbounded.component.html',
  styleUrls: ['./unbounded.component.scss']
})
export class UnboundedComponent implements OnInit {

  constructor(    private equipmentService: EquipmentService,
  ) { }

  devicesList;

  ngOnInit() {
    this.getdevicesList(0);
  }
  getdevicesList(activeTabIndex) {
    this.equipmentService.getdevicesList(activeTabIndex).then(data => {
      this.devicesList = data;
    })
  }

}
